package com.bxait.toymail.order.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/*
@description: 线程池的配置
@ClassName ThreadPoolConfigProperties
@author Chen
@create 2023-04-17 20:31
@Version 1.0
*/
@Component
@Data
@ConfigurationProperties(prefix = "toymail.thread")
public class ThreadPoolConfigProperties {
    // 核心线程数
    private Integer coreSize;
    // 最大线程数
    private Integer maxSize;
    // 存活时间
    private Integer keepAliveTime;
}
